package Project;
import Hulppakket.*;
// This class is intended to contain individual Surfaces as well as one master Surface group containing the entire Scene.
// Notice the difference between the Scene and Surface classes, the Scene class is intended to form the scene from 
// individual objects using transformations, 
public abstract class Surface {
	private Color3f color;
	abstract boolean hit(Ray hittingray, double t0, double t1, Hitrecord rec);
	abstract Box boundingbox();
	public Color3f getColor() {
		return color;
	}
	public void setColor(Color3f color) {
		this.color = color;
	}
	public Color3f getSpecularColor() {
		return new Color3f(0.1F,0.1F,0.1F);
	}
	public Color3f getAmbientColor() {
		return color;
	}
}
